package com.yang.innercallback;


import com.yang.innercallback.strategy.SecondsStrategy;
import com.yang.innercallback.strategy.SecondsStrategyBeanFactory;
import org.springframework.stereotype.Component;


/**
 * 固定策略
 * 
 * @author Candi
 */
@Component(SecondsStrategyBeanFactory.FIX_SECONDSSTRATEGY)
public class FixStrategy implements SecondsStrategy {

	@Override
	public int nextSeconds(int increaseSeconds, int failure) {
		return increaseSeconds;
	}

}
